﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchStdScoreUserControl.ascx.cs"
    Inherits="TNO.Education.SearchStdScore.SearchStdScoreUserControl" %>
<script type="text/javascript">
    $(document).ready(function ($) {
        $(".water").each(function () {
            var tb = $(this);
            if (tb.val() != this.title) {
                tb.removeClass("water");
            }
        });
        $(".water").focus(function () {
            var tb = $(this);
            if (tb.val() == this.title) {
                tb.val("");
                tb.removeClass("water");
            }
        });
        $(".water").blur(function () {
            var tb = $(this);
            if ($.trim(tb.val()) == "") {
                tb.val(this.title);
                tb.addClass("water");
            }
        });
        $('input[id$="txtName"]').bind('keypress', function (event) {
            var regex = new RegExp("^[~()-+_|/'\",;:<>{}?=.*!@#$%^&*]+$");
            var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
            if (regex.test(key)) {
                event.preventDefault();
                return false;
            }
        });
    });
    
</script>
<div class="search-tcdc">
    <div class="search-title">
        <h2>
            TRA CỨU ĐIỂM CHUẨN</h2>
    </div>
    <div class="search">
        <div class="search-box">
            <div class="tcdc-tdh">
                <asp:DropDownList ID="ddlUniversity" runat="server" BorderStyle="None" AppendDataBoundItems="true">
                    <asp:ListItem Text="--- Chọn trường ---" Value="" Selected="True"></asp:ListItem>
                </asp:DropDownList>
            </div>
            <div class="tcdc-kt">
                <asp:DropDownList ID="ddlBlock" runat="server" BorderStyle="None" AppendDataBoundItems="true">
                    <asp:ListItem Text="--- Chọn khối thi ---" Value="" Selected="True"></asp:ListItem>
                </asp:DropDownList>
            </div>
            <div class="tcdc-btntim">
                <asp:Button ID="btnSearch" CssClass="invisible" runat="server" Text="Tìm" OnClick="btnSearch_Click" />
            </div>
        </div>
    </div>
    <div class="search-details">
        <asp:Panel ID="pnlResult" runat="server">
        </asp:Panel>
    </div>
</div>
